package com.mindata.blockchain.socket.body;

import com.mindata.blockchain.block.Instruction;

import java.util.List;

/**
 * User: jasperxgwang
 * Date: 2018-7-30 11:32
 */
public class InstructionBody extends BaseBody {
    /**
     * 指令内容
     */
    private List<Instruction> instructions;

    public InstructionBody() {
    }

    public InstructionBody(List<Instruction> instructions) {
        this.instructions = instructions;
    }

    public List<Instruction> getInstructions() {
        return instructions;
    }

    public void setInstructions(List<Instruction> instructions) {
        this.instructions = instructions;
    }


    @Override
    public String toString() {
        return "InstructionBody{" +
                "instructions=" + instructions +
                '}';
    }
}
